package com.gxa.medical.service.impl;

import com.gxa.medical.mapper.DoctorFirstPageMapper;
import com.gxa.medical.pojo.Doctor;
import com.gxa.medical.service.DoctorFirstPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Dusen
 * @date 2022/6/8 17:06
 */
@Service
@Transactional(rollbackFor = {Throwable.class})
public class DoctorFirstPageServiceImpl implements DoctorFirstPageService {
    @Autowired
    private DoctorFirstPageMapper doctorFirstPageMapper;



    @Override
    public Integer countGive() {
        return doctorFirstPageMapper.countGive();
    }

    @Override
    public Integer countWeekUser() {
        return doctorFirstPageMapper.countWeekUser();
    }

    @Override
    public Integer countWeekGiveUser() {
        return doctorFirstPageMapper.countWeekGiveUser();
    }
}
